<cfsilent>
	<cfif structKeyExists(url,"init") or not structKeyExists(application,"core")>
		<cfset initSite = true />
	<cfelse>
		<cfset initSite = false />
	</cfif>
	
	<!--- launch site --->
	<cfif initSite>
		<cfset structDelete(application,"core") />
		<cfset application.core = createObject('component','cfcs.core') />
	</cfif>
	<cfset application.core.initSite(initSite) />
</cfsilent>

<!--- include javascripts --->
<cfoutput>
	#application.core.includeScripts()#
</cfoutput>